package com.yy.tech.data.logger.context;

import org.springframework.context.ApplicationContext;
import org.springframework.core.env.Environment;

public final class  SpringContext {

    private static Environment environment;

    private static ApplicationContext context;

    public static Environment getEnvironment() {
        return environment;
    }

    public static void setEnvironment(Environment environment) {
        SpringContext.environment = environment;
    }

    public static ApplicationContext getContext() {
        return context;
    }

    public static void setContext(ApplicationContext context) {
        SpringContext.context = context;
    }

}
